

import pandas as pd

file_path = "H:/osdata/UrbanBIS/Wuhu_whole_scene/Wuhu_whole_scene.txt"



chunksize = 100000  # 设置每次读取的行数
for chunk in pd.read_csv("large_file.csv", chunksize=chunksize):


points = pd.read_csv(file_path, header=None).values
cam_pose = gen_pos(points)
write_file(outpath,cam_pose)